package com.zte.statis.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 检索条件类
 * @author 曾
 * @version 1.0
 * @data 2022/10/02 星期日 20:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Condition {
    private Integer provinceId;//省id
    private Integer cityId;//城市id
    private Integer customid;//客户id
    private String customname;//客户姓名
    private Integer firm_id;//厂商id
    private String firm_name;//厂商名称
    private Integer ck_id;//仓库id
    private String ck_name;//仓库名称
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date starttime;//起始时间
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date endtime;//末尾时间
}
